package com.example.service;

import com.example.entity.*;

import java.util.List;

public interface EquipmentService {

    public String AddCategory(Category category);

    public List<Category> RequestCategory(Integer army_id);

    public String AddEquipment(Equipment equipment);

    public List<Equipment> RequestEquipment(Integer army_id);

    public String AddElement(Element element);

    public List<Element> RequestElement(Integer category_id);

    public String AddEquipmentElement(Integer equipment_id,Integer element_id);

    public Equipment_Element RequestEquipmentElement(Integer equipment_id,Integer element_id);

    public List<Equipment_Element> RequestEquipElementByEquipId(Integer equipment_id);

    public String AddMaintainMsg(Element_Maintain element_maintain);

    public List<Element_Maintain> RequestMaintain(Integer element_repair_id);

    public String AddReplace(Element_Replace element_replace);

    public List<Element_Replace> RequestReplace(Integer element_repair_id);

    public String AddRepair(Element_Repair element_repair);

    public List<Element_Repair> RequestRepair(Integer element_repair_id);

    public String AddMalfunction(Malfunction malfunction);

    public List<Malfunction> RequestMalfunction(Integer element_id);

    public String AddReason(Reason reason);

    public List<Reason> RequestReason(Integer malfunction_id);

    public String AddSolution(Solution solution);

    public List<Solution> RequestSolution(Integer malfunction_id);
}
